﻿<Window x:Class="RenameTracker.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    
    xmlns:con="http://schemas.kent.boogaart.com/converters"
    xmlns:local="clr-namespace:RenameTracker" 
    Title="{Binding Path=Title, Source={x:Static local:AppSettings.Default}}"
    Width="800"
    Height="600">
    
    <Grid>        
        <ScrollViewer ScrollViewer.HorizontalScrollBarVisibility="Auto">
            <StackPanel MinWidth="500">
                <!-- Input area -->
                <DockPanel Background="AliceBlue" Margin="0,0,0,15">                
                    <TextBlock DockPanel.Dock="Left" Text="Item to Track:" Margin="5,5,5,5"/>                                        
                    <CheckBox x:Name="_showDeletesBox" IsChecked="False" Margin="5,5,5,5" DockPanel.Dock="Right" TabIndex="3">
                        Show Deletes
                    </CheckBox>
                    <Button Click="Go_Click" DockPanel.Dock="Right" MinWidth="30" TabIndex="2">
                        <TextBlock Text="Go" />
                    </Button>
                    <ComboBox x:Name="_itemChooser" HorizontalAlignment="Stretch" Margin="5,0,5,0" TabIndex="1" IsEditable="True" IsDropDownOpen="False" ClipToBounds="True" StaysOpenOnEdit="True" AllowDrop="True" /> 
                </DockPanel>                        
                
                <!-- Timeline area -->
                <local:TimeLine x:Name="_timeLine" />
                
                <!-- Debug area -->
                <ListBox x:Name="_debugView" IsEnabled="False" />
            </StackPanel>
        </ScrollViewer>
    </Grid>        
</Window>
